<!DOCTYPE html>
<html>
      <head>
            <title></title>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      </head>
      <body>
            <h1>
                  <a href="{$web}?c=db&m=add">添加</a>
            </h1>
            <table width="600" border="1">
                  <tr>
                        <td>学生名称</td>
                        <td>操作</td>
                  </tr>
                  {section loop=$data name=n}
                  <tr>
                        <td>{$data[n].sname}</td>
                        <td>
                              <a href="{$web}?c=db&m=del&sid={$data[n].sid}">删除</a>
                              <a href="{$web}?c=db&m=edit&sid={$data[n].sid}">修改</a>
                        </td>
                  </tr>
                  {/section}
            </table>
      </body>
</html>
